dvb_scan_transponder

@brief Scans a DVB dvb_add_scaned_transponder @ingroup frontend_scan

@param parms pointer to struct dvb_v5_fe_parms created when the frontend is opened @param entry DVB file entry that corresponds to a transponder to be tuned @param dmx_fd an opened demux file descriptor @param check_frontend a pointer to a function that will show the frontend status while tuning into a transponder @param args a pointer, opaque to libdvbv5, that will be used when calling check_frontend. It should contain any parameters that could be needed by check_frontend. @param other_nit Use alternate table IDs for NIT and other tables @param timeout_multiply Improves the timeout for each table reception, by

This is the function that applications should use when doing a transponders scan. It does everything needed to fill the entries with DVB programs (virtual channels) and detect the PIDs associated with them.

A typical usage is to after open a channel file, open a dmx_fd and open a frontend. Then, seek for the MPEG tables on all the transponder frequencies with:

@code for (entry = dvb_file->first_entry; entry != NULL; entry = entry->next) { struct dvb_v5_descriptors *dvb_scan_handler = NULL;

dvb_scan_handler = dvb_scan_transponder(parms, entry, dmx_fd, &check_frontend, args, args->other_nit, args->timeout_multiply); if (parms->abort) { dvb_scan_free_handler_table(dvb_scan_handler); break; } if (dvb_scan_handler) { dvb_store_channel(&dvb_file_new, parms, dvb_scan_handler, args->get_detected, args->get_nit); dvb_scan_free_handler_table(dvb_scan_handler); } } @endcode

Meta